﻿namespace POP.Pop3
{
	// Some of these states are defined by <a href="http://tools.ietf.org/html/rfc1939">RFC 1939</a>.<br/>
	// Which commands that are allowed in which state can be seen in the same RFC.<br/>
	// <br/>
	// Used to keep track of which state the <see cref="Pop3Client"/> is in.
	internal enum ConnectionState
	{
		// This is when the Pop3Client is not even connected to the server
		Disconnected,

		// This is when the server is awaiting user credentials
		Authorization,

		// This is when the server has been given the user credentials, and we are allowed
		// to use commands specific to this users mail drop
		Transaction
	}
}